<?php
/**
 * RUBIK IT Solution & Development Co.ltd,
 *
 * PROJECT		: Auction
 * COPYRIGHT	: 2010
 * ------------------------------------------------------
 * 
 * DTO class of  #__user table
 *
 * @author			generator <hoadn@rubik.com.vn>
 * @access			public
 * @package			dbo.UserDTO
 *
 * Created on	: September 13, 2010
 */

// Importer
RCoreImporter::cls( "dbo.AbstractDTO" );

/**
 * @name UserDTO
 * The data transfer object class for table: #__user
 */
class UserDTO extends AbstractDTO {

	// Keys
	var $user_id	= "N*|||key";
	var $username		 = "S*&u";
	var $password		 = "MD5";
	var $email	 		 = "EM";
	
	// Colums
	var $name		= "S";
	
	var $phone			= "S";
	var $join_time		= "D|NOW";
	var $address		="S";
	var $group_id		="N*";
	
	
	/**	
	 * Constructor	
	 *	
	 * @param string $where	 the where string (without WHERE)
	 * @param string $orderBy the other by string (with order by)
	 * @param DataBase $db the database (if null the database of system will be specify)
	 */	
	function __construct($where='', $orderBy = '', $db = null) {			
			parent::__construct('#__user', $where, $orderBy, $db);
			
		
		
	}
	
}
?>